package Mangos::DB::Characters::CharacterTutorial;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'character_tutorial',

    columns => 
    [
        account => { type => 'bigint', not_null => 1 },
        realmid => { type => 'integer', not_null => 1 },
        tut0    => { type => 'integer', default => '0', not_null => 1 },
        tut1    => { type => 'integer', default => '0', not_null => 1 },
        tut2    => { type => 'integer', default => '0', not_null => 1 },
        tut3    => { type => 'integer', default => '0', not_null => 1 },
        tut4    => { type => 'integer', default => '0', not_null => 1 },
        tut5    => { type => 'integer', default => '0', not_null => 1 },
        tut6    => { type => 'integer', default => '0', not_null => 1 },
        tut7    => { type => 'integer', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'account', 'realmid' ],
);

1;

package Mangos::DB::Characters::CharacterTutorial::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::CharacterTutorial' }

__PACKAGE__->make_manager_methods('character_tutorial');

1;
